package com.hilinos.gb.gb28181.repository.mysql.mapper.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author qhl
 * @since 2022-01-05
 */
@Data
@ApiModel("")
@TableName("device_channel")
public class DeviceChannel {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("通道编号 ")
    @TableId("channel_id")
    private String channelId;
    @ApiModelProperty("设备编号 ")
    @TableField("device_id")
    private String deviceId;
    @ApiModelProperty("通道名 ")
    @TableField("channel_name")
    private String channelName;
    @ApiModelProperty("生产厂商 ")
    private String manufacturer;
    @ApiModelProperty("型号 ")
    private String model;
    @ApiModelProperty("设备归属 ")
    private String owner;
    @ApiModelProperty("行政区域 ")
    @TableField("civil_code")
    private String civilCode;
    @ApiModelProperty("警区 ")
    private String block;
    @ApiModelProperty("安装地址 ")
    private String address;
    @ApiModelProperty("是否有子设备 ")
    private String parental;
    @ApiModelProperty("父级编码 ")
    @TableField("parent_id")
    private String parentId;
    @ApiModelProperty("信令安全模式 ")
    @TableField("safety_way")
    private String safetyWay;
    @ApiModelProperty("注册方式 ")
    @TableField("register_way")
    private String registerWay;
    @ApiModelProperty("证书序列号 ")
    @TableField("cert_num")
    private String certNum;
    @ApiModelProperty("证书有效标识 ")
    @TableField("cert_valid")
    private String certValid;
    @ApiModelProperty("证书无效原因码 ")
    @TableField("cert_errcode")
    private String certErrcode;
    @ApiModelProperty("证书终止有效期 ")
    @TableField("cert_endtime")
    private String certEndtime;
    @ApiModelProperty("保密属性 ")
    private String secrecy;
    @ApiModelProperty("IP地址 ")
    private String ip;
    @ApiModelProperty("端口号 ")
    private Integer port;
    @ApiModelProperty("认证用户")
    private String username;
    @ApiModelProperty("密码 ")
    private String password;
    @ApiModelProperty("状态 ")
    private String online;
    @ApiModelProperty("经度 ")
    private Float longitude;
    @ApiModelProperty("纬度 ")
    private Float latitude;


}